import java.util.Scanner;

/*
    @author:sa
    @date:2024/11/8 15:19
*/
public class D0While {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int n=0;
        do {
            System.out.println("请输入一个整数");
            String now = scanner.nextLine();
            n = Integer.parseInt(now);
            System.out.println(n);
        }
                while (n!=0) ;
            }
        }
